package controllers;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.Date;

import play.api.templates.Html;
import play.mvc.*;


import views.html.*;

public class Application extends Controller {

	public static Result home(){
		return ok(home.render(Query.numeroOI(),Query.numeroPA(),Query.oiSenzaPA()));
	}
	
    public static Result index(){
    	return TODO;
    }
    
    public static Result oiPerUtente(){
    	return ok(oiPerUtente.render(Query.oiPerUtente()));
    }
    
    public static Result paPerUtente(){
    	return ok(paPerUtente.render(Query.paPerUtente()));
    }
    
	
}
